Optimal. Leaf size=114 \[ \frac{2^{n+\frac{5}{2}} \tan ^{\frac{3}{2}}(c+d x) \left (\frac{1}{\sec (c+d x)+1}\right )^{n+\frac{3}{2}} (a \sec (c+d x)+a)^n F_1\left (\frac{3}{4};n+\frac{1}{2},1;\frac{7}{4};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0583088, antiderivative size = 114, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.043, Rules used = {3889} \[ \frac{2^{n+\frac{5}{2}} \tan ^{\frac{3}{2}}(c+d x) \left (\frac{1}{\sec (c+d x)+1}\right )^{n+\frac{3}{2}} (a \sec (c+d x)+a)^n F_1\left (\frac{3}{4};n+\frac{1}{2},1;\frac{7}{4};-\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a},\frac{a-a \sec (c+d x)}{\sec (c+d x) a+a}\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rubi steps
\begin{align*} \int (a+a \sec (c+d x))^n \sqrt{\tan (c+d x)} \, dx &=\frac{2^{\frac{5}{2}+n} F_1\left (\frac{3}{4};\frac{1}{2}+n,1;\frac{7}{4};-\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)},\frac{a-a \sec (c+d x)}{a+a \sec (c+d x)}\right ) \left (\frac{1}{1+\sec (c+d x)}\right )^{\frac{3}{2}+n} (a+a \sec (c+d x))^n \tan ^{\frac{3}{2}}(c+d x)}{3 d}\\ \end{align*}
Mathematica [B] time = 2.08551, size = 238, normalized size = 2.09 \[ \frac{56 \sin \left (\frac{1}{2} (c+d x)\right ) \cos ^3\left (\frac{1}{2} (c+d x)\right ) \sqrt{\tan (c+d x)} (a (\sec (c+d x)+1))^n F_1\left (\frac{3}{4};n+\frac{1}{2},1;\frac{7}{4};\tan ^2\left (\frac{1}{2} (c+d x)\right ),-\tan ^2\left (\frac{1}{2} (c+d x)\right )\right )}{d \left (6 (\cos (c+d x)-1) \left (2 F_1\left (\frac{7}{4};n+\frac{1}{2},2;\frac{11}{4};\tan ^2\left (\frac{1}{2} (c+d x)\right ),-\tan ^2\left (\frac{1}{2} (c+d x)\right )\right )-(2 n+1) F_1\left (\frac{7}{4};n+\frac{3}{2},1;\frac{11}{4};\tan ^2\left (\frac{1}{2} (c+d x)\right ),-\tan ^2\left (\frac{1}{2} (c+d x)\right )\right )\right )+21 (\cos (c+d x)+1) F_1\left (\frac{3}{4};n+\frac{1}{2},1;\frac{7}{4};\tan ^2\left (\frac{1}{2} (c+d x)\right ),-\tan ^2\left (\frac{1}{2} (c+d x)\right )\right )\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.28, size = 0, normalized size = 0. \begin{align*} \int \left ( a+a\sec \left ( dx+c \right ) \right ) ^{n}\sqrt{\tan \left ( dx+c \right ) }\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sqrt{\tan \left (d x + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sqrt{\tan \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (\sec{\left (c + d x \right )} + 1\right )\right )^{n} \sqrt{\tan{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sqrt{\tan \left (d x + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]